package com.itheima.domain;

/**
 * 学生对象
 */
public class Student {

        private Integer id;
        private String name;
        private Integer age;


        public Integer getId() {
                return id;
        }

        public void setId(Integer id) {
                this.id = id;
        }

        public String getName() {
                return name;
        }

        public void setName(String name) {
                this.name = name;
        }

        public Integer getAge() {
                return age;
        }

        public void setAge(Integer age) {
                this.age = age;
        }

        @Override
        public String toString() {
                return "学生信息" +"学号" + id +",姓名" + name +", 年龄" + age;
        }
}
